package zl.Service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import zl.Dao.AnimalDao;
import zl.Entity.Animal;

import java.util.List;

@Service
public class AnimalService {

    @Autowired
    AnimalDao animalDao;

    public List<Animal> selectAll(){
        return animalDao.selectAll();
    }
}
